
import createAPI from 'shared/restClient/CreateAPI';


export const loginApi = createAPI('post', 'jiekec/index.php?route=account/login', false);
export const registerApi = createAPI('post', 'jiekec/index.php?route=account/register', false);
export const forgotPasswordApi = createAPI('post', 'jiekec/index.php?route=account/forgotpassword', false);
export const sendVerifyCodeApi = createAPI('post', 'jiekec/index.php?route=verifycode/send', false);
export const getImageverifyCodeApi = createAPI('post', 'jiekec/index.php?route=verifycode/imageverifycode', false);
export const encryptPhoneApi = createAPI('get', 'jiekec/index.php?route=account/encrypt', false);
export const authForgotPasswordApi = createAPI('post', 'jiekec/index.php?route=account/forgotpassword/auth', false);


